home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
National Security Press Kit
/
National Security Press Kit.iso
/
mac
/
Acrobat Reader 5
/
Acrobat Reader 5.0
/
Acrobat Reader 5.0.rsrc
/
EXVW_10019_admCropDialog
< prev
next >
Wrap
Text File
|
2001-09-24
|
5KB
|
109 lines
gCropMarginWidth = max(
zstring_width(zstring: '$$$avCropCustomMargins'),
zstring_width(zstring: '$$$avCropBoundingBox'),
zstring_width(zstring: '$$$avNone'));
gCropWhichWidth = max(
zstring_width(zstring: '$$$avCropEvenAndOdd'),
zstring_width(zstring: '$$$avCropOddOnly'),
zstring_width(zstring: '$$$avCropEvenOnly'));
gBWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/Bottom');
gRWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/Right');
gTWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/top');
gLWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/Left');
gTLWidth = max( gTWidth, gLWidth ) + (max_char_width() * 1);
gBRWidth = max( gBWidth , gRWidth ) + (max_char_width() * 1);
gSetValuesWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/SetValues');
gFromToWidth = max_digit_width() * 10;
gMaxTopBottom = max(
zstring_width(zstring: '$$$/Dialogs/CropDlg/top'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/Bottom'));
gMaxLeftRight = max(
zstring_width(zstring: '$$$/Dialogs/CropDlg/Left'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/Right'));
gMaxButtonWidth = max(
zstring_width(zstring: '$$$/Dialogs/CropDlg/RemoveWhiteMargins'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/SetValues'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/SetToZero'));
gSpinEditWidth = max_digit_width() * 6 + 32;
dialog(name: '$$$/Dialogs/CropDlg')
{
view( align_children: align_left)
{
cluster(item_id: 'gbx1', name: '$$$/Dialogs/CropDlg/MarginsGrp', align_children: align_left,
alignment: align_left)
{
view(align_children: align_fill)
{
view(align_children: align_row, alignment: align_center)
{
static_text(name: '$$$/Dialogs/CropDlg/top', width: gMaxTopBottom, alignment: align_right);
edit_text(item_id: 'top ', SpinEdit: true, width: gSpinEditWidth, alignment: align_center);
static_text(name: '$$$/Dialogs/EmptyStr', width: gMaxTopBottom);
}
view(align_children: align_row, alignment: align_center)
{
static_text(name: '$$$/Dialogs/CropDlg/Left', width: gMaxLeftRight, alignment: align_right);
edit_text(item_id: 'left', SpinEdit: true, width: gSpinEditWidth);
user_item( item_id: 'thmb', width: 104, height: 104, alignment: align_center);
static_text(name: '$$$/Dialogs/CropDlg/Right', width: gMaxLeftRight, alignment: align_right);
edit_text(item_id: 'rght', SpinEdit: true, width: gSpinEditWidth);
}
view(align_children: align_row, alignment: align_center)
{
static_text(name: '$$$/Dialogs/CropDlg/Bottom', width: gMaxTopBottom, alignment: align_right);
edit_text(item_id: 'bttm', SpinEdit: true, width: gSpinEditWidth, alignment: align_center);
static_text(name: '$$$/Dialogs/EmptyStr', width: gMaxTopBottom);
}
}
view(align_children: align_row, alignment: align_left)
{
static_text(item_id: 'psiz', width: max_char_width() * 25);
}
view(align_children: align_row, alignment: align_left)
{
static_text(name: '$$$/Dialogs/CropDlg/SetValues', width: gSetValuesWidth, alignment: align_right);
button(item_id: 'zero', name: '$$$/Dialogs/CropDlg/SetToZero', width: gMaxButtonWidth, alignment: align_left);
button(item_id: 'revt', name: '$$$/Dialogs/CropDlg/Revert', width: gMaxButtonWidth, alignment: align_left);
}
view(align_children: align_row, alignment: align_left)
{
static_text(name: '$$$/Dialogs/CropDlg/EmptyStr', width: gSetValuesWidth, alignment: align_right);
check_box(item_id: 'whit', name: '$$$/Dialogs/CropDlg/RemoveWhiteMargins');
}
}
cluster(item_id: 'gbx2', name: '$$$/Dialogs/CropDlg/Range', align_children: align_distribute,
alignment: align_fill)
{
view(align_children: align_top)
{
view(align_children: align_left)
{
radio(item_id: 'all ', name: '$$$/Dialogs/PageNumbering/Pages/All', height: gEditTextHeight);
radio(item_id: 'slct', name: '$$$/Dialogs/PageNumbering/Pages/Selected', height: gEditTextHeight);
view(align_children: align_row)
{
radio(item_id: 'from', name: '$$$/Dialogs/PageNumbering/Pages/From');
edit_text(item_id: 'FrPg', width: gFromToWidth);
static_text(name: '$$$/Dialogs/PageNumbering/Pages/To');
edit_text(item_id: 'ToPg', width: gFromToWidth);
static_text(item_id: 'NumP', name: '$$$/Dialogs/PageNumbering/Pages/NumPages');
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/CropDlg/Which', alignment: align_right);
popup(item_id: 'whch', width: gCropWhichWidth);
}
}
}
}
ok_cancel();
}
}